define({ "api": [
  {
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "varname1",
            "description": "<p>No type.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "varname2",
            "description": "<p>With type.</p>"
          }
        ]
      }
    },
    "type": "",
    "url": "",
    "version": "0.0.0",
    "filename": "./doc/main.js",
    "group": "F__wwwroot_collect_loc_doc_collect_doc_main_js",
    "groupTitle": "F__wwwroot_collect_loc_doc_collect_doc_main_js",
    "name": ""
  },
  {
    "type": "post",
    "url": "goods",
    "title": "商品 - 唯一编码返回详情",
    "version": "1.0.0",
    "name": "getGoodsDetail",
    "group": "Goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "keywords",
            "description": "<p>唯一编码[条形码, 货号, 助记码]</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "goods_id",
            "description": "<p>分类 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "category_id",
            "description": "<p>分类 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "category_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "article_no",
            "description": "<p>货号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "bar_code",
            "description": "<p>条形码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "zh_name",
            "description": "<p>中文名称</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "en_name",
            "description": "<p>英文名称</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "mnemonic",
            "description": "<p>助记码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "brand",
            "description": "<p>品牌</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "tax",
            "description": "<p>税额</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "price",
            "description": "<p>价格</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "inventory",
            "description": "<p>库存</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:下架]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n             \"category_id\": 1,\n             \"category_name\": \"水果\",\n             \"article_no\": \"100001\",\n             \"bar_code\": \"282017011789920705\",\n             \"zh_name\": \"香蕉\",\n             \"en_name\": \"banner\",\n             \"mnemonic\": \"100001\",\n             \"brand\": \"水果\",\n             \"tax\": \"Fuck\",\n             \"price\": 50.00,\n             \"inventory\": \"Fuck\",\n             \"status\": \"Fuck\",\n             \"created_at\": \"2016-10-11 16:14:06\"\n     }\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Goods"
  },
  {
    "type": "post",
    "url": "member",
    "title": "会员 - 创建",
    "version": "1.0.0",
    "name": "createdMember",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>卡号</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "real_name",
            "description": "<p>真实姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:锁定, 3:禁用]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"phone\": \"15157123839\",\n  \"number\": \"6228656478952365\",\n  \"real_name\": \"6228656478952365\",\n  \"memo\": \"6228656478952365\",\n  \"status\": 1,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "member/recharge",
    "title": "会员充值 - 创建",
    "version": "1.0.0",
    "name": "createdMemberRecharge",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>UID</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "store_id",
            "description": "<p>门店 ID</p>"
          },
          {
            "group": "Parameter",
            "type": "decimal",
            "optional": false,
            "field": "money",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "type",
            "description": "<p>类型[1:充值, 2:消费, 3:消耗]</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:成功, 2:失败]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"uid\": 1,\n  \"store_id\": 1,\n  \"money\": 1,\n  \"type\": 1,\n  \"memo\": \"langLiGeLang\",\n  \"status\": 1\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "member/number",
    "title": "会员 - 卡号详情",
    "version": "1.0.0",
    "name": "getMemberDetailByNumber",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>手机</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>卡号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "real_name",
            "description": "<p>真实姓名</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Success 200",
            "type": "float",
            "optional": false,
            "field": "integral",
            "description": "<p>积分</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "money",
            "description": "<p>余额</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:锁定, 3:禁用]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n             \"id\": 1,\n             \"uid\": 1,\n             \"phone\": \"15157123839\",\n             \"number\": \"Fuck\",\n             \"real_name\": \"Fuck\",\n             \"integral\": \"Fuck\",\n             \"money\": \"Fuck\",\n             \"memo\": \"Fuck\",\n             \"status\": 1,\n             \"created_at\": \"2016-10-11 16:14:06\"\n     }\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "member/phone",
    "title": "会员 - 手机详情",
    "version": "1.0.0",
    "name": "getMemberDetailByPhone",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>手机</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>卡号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "real_name",
            "description": "<p>真实姓名</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:锁定, 3:禁用]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n             \"uid\": 1,\n             \"phone\": \"15157123839\",\n             \"number\": \"Fuck\",\n             \"real_name\": \"Fuck\",\n             \"memo\": \"Fuck\",\n             \"status\": 1,\n             \"created_at\": \"2016-10-11 16:14:06\"\n     }\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "member/{id}",
    "title": "会员 - 更新",
    "version": "1.0.0",
    "name": "updatedMember",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>卡号</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "real_name",
            "description": "<p>真实姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:锁定, 3:禁用]</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"phone\": \"15157123839\",\n  \"number\": \"6228656478952365\",\n  \"real_name\": \"6228656478952365\",\n  \"memo\": \"6228656478952365\",\n  \"status\": 1,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>会员 ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "member/recharge/{id}",
    "title": "会员充值 - 更新",
    "version": "1.0.0",
    "name": "updatedMemberRecharge",
    "group": "Member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>UID</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "store_id",
            "description": "<p>门店 ID</p>"
          },
          {
            "group": "Parameter",
            "type": "decimal",
            "optional": false,
            "field": "money",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "type",
            "description": "<p>类型[1:充值, 2:消费, 3:消耗]</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:成功, 2:失败]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n  \"uid\": 1,\n  \"store_id\": 1,\n  \"money\": 1,\n  \"type\": 1,\n  \"memo\": \"langLiGeLang\",\n  \"status\": 1\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>充值 ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Member"
  },
  {
    "type": "post",
    "url": "shift/check",
    "title": "交班 - 验证",
    "version": "1.0.0",
    "name": "shiftCheck",
    "group": "Shift",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"password\": 123456,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shift"
  },
  {
    "type": "post",
    "url": "shift/Inventory",
    "title": "交班 - 清单",
    "version": "1.0.0",
    "name": "shiftList",
    "group": "Shift",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>交班班号</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "payType",
            "description": "<p>支付方式</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "rmb",
            "description": "<p>人民币</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "bankCard",
            "description": "<p>银行卡</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "integral",
            "description": "<p>积分</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "weChat",
            "description": "<p>微信</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "payPal",
            "description": "<p>支付宝</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "memberCard",
            "description": "<p>会员卡</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "coupon",
            "description": "<p>礼券</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "goodsType",
            "description": "<p>货物类型</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "counts",
            "description": "<p>销售数量</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "amount",
            "description": "<p>总价格</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"payType\": {\n             \"rmb\": 5000,\n             \"bankCard\": 5000,\n             \"integral\": 5000,\n             \"weChat\": 5000,\n             \"payPal\": 5000,\n             \"memberCard\": 5000,\n             \"coupon\": 5000,\n          },\n         \"goodsType\": [\n             {\n                 \"name\":\"厨具\",\n                 \"counts\":10,\n                 \"amount\":9527,\n             }\n         ]\n     }\n}",
          "type": "json"
        }
      ]
    },
    "parameter": {
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"number\": 2017022412091003,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shift"
  },
  {
    "type": "post",
    "url": "login",
    "title": "交班 - 登录",
    "version": "1.0.0",
    "name": "shiftLogin",
    "group": "Shift",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n     \"phone\": \"15111223344\",\n     \"password\": \"123456\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>管理员 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "real_name",
            "description": "<p>真实姓名</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "avatar",
            "description": "<p>图像</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "sex",
            "description": "<p>性别[1:男, 2:女]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "role_id",
            "description": "<p>角色[1:店长, 2:店员]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "status",
            "description": "<p>状态[1:正常, 2:锁定, 3:禁用]</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "memo",
            "description": "<p>备注</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>班号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>授权验证 token [作为接口授权验证，通过 Header 方式传递]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n             \"uid\": 4,\n             \"phone\": \"15111223344\",\n             \"real_name\": \"test\",\n             \"avatar\": \"/avatar.jpg\",\n             \"sex\": 2,\n             \"role_id\": 2,\n             \"status\": 1,\n             \"memo\": \"Fuck\",\n             \"number\": \"2017020418132598\",\n             \"created_at\": \"2016-10-11 16:14:06\"\n     },\n     token: \"KDJSLKLHUHUHJSJDNKKJKPLKNNGCGFT546812212dfdfefwefsdfaSDSDS\"\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shift"
  },
  {
    "type": "post",
    "url": "shift",
    "title": "交班 - 确认",
    "version": "1.0.0",
    "name": "shiftUpdated",
    "group": "Shift",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "number",
            "description": "<p>交班班号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "parameter": {
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"number\": 2017022412091003,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shift"
  },
  {
    "type": "post",
    "url": "shopping/cart",
    "title": "购物车 - 创建",
    "version": "1.0.0",
    "name": "createdShoppingCart",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "goods_id",
            "description": "<p>门店 ID</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员 ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"goods_id\": 1,\n    \"member_id\": 1\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/created",
    "title": "购物车挂单 - 创建",
    "version": "1.0.0",
    "name": "createdShoppingCartPending",
    "group": "ShoppingCart",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/delete",
    "title": "购物车 - 删除商品[支持批量]",
    "version": "1.0.0",
    "name": "deletedShoppingCart",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "ids",
            "description": "<p>商品 ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"ids\": [1,2,3],\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "get",
    "url": "shopping/cart?member_id=1",
    "title": "购物车 - 列表",
    "version": "1.0.0",
    "name": "getShoppingCartList",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "member_id",
            "description": "<p>每页个数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>会员 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "name",
            "description": "<p>商品名称</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "price",
            "description": "<p>商品价格</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "counts",
            "description": "<p>商品数量</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"list\": [\n             {\n                \"id\": 1,\n                \"uid\": 1,\n                \"goods_id\": 1,\n                \"zh_name\": \"商品名称\",\n                \"en_name\": \"商品名称\",\n                \"price\": \"20.17\",\n                \"counts\": 1,\n                \"created_at\": \"2016-10-11 16:14:06\"\n             }\n         ],\n         \"total\": 8,\n         \"totalPage\": 8,\n         \"currentPage\": 8\n     }\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "get",
    "url": "shopping/cart/pending",
    "title": "购物车挂单 - 列表",
    "version": "1.0.0",
    "name": "getShoppingCartPending",
    "group": "ShoppingCart",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": [\n         {\n             \"id\": 1,\n             \"uid\": 1,\n             \"admin_id\": 1,\n             \"goods_id\": 1,\n             \"zh_name\": \"香蕉\",\n             \"en_name\": \"banner\",\n             \"price\": \"50\",\n             \"counts\": 2,\n             \"status\": 2,\n             \"pending_no\": 1487140846,\n             \"created_at\": \"2017-02-15 14:38:53\"\n         }\n     ]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/cancel",
    "title": "购物车挂单 - 取消",
    "version": "1.0.0",
    "name": "shoppingCartCancel",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pendingNo",
            "description": "<p>挂单号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"pending_no\": 1485156873,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/clear",
    "title": "购物车 - 清空购物车",
    "version": "1.0.0",
    "name": "shoppingCartClear",
    "group": "ShoppingCart",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/get",
    "title": "购物车挂单 - 获取",
    "version": "1.0.0",
    "name": "shoppingCartGet",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pendingNo",
            "description": "<p>挂单号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"pending_no\": 1485156873,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": true\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/pending",
    "title": "购物车挂单 - 详情",
    "version": "1.0.0",
    "name": "shoppingCartPendingDetail",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pending_no",
            "description": "<p>挂单号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"pending_no\": 1485156873,\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1,\n         \"uid\": 1,\n         \"admin_id\": 1,\n         \"goods_id\": 1,\n         \"zh_name\": \"香蕉\",\n         \"en_name\": \"banner\",\n         \"price\": \"100\",\n         \"counts\": 10,\n         \"status\": 1,\n         \"pending_no\": 1485156873,\n         \"created_at\": \"2017-02-07 10:33:19\",\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping/cart/{id}",
    "title": "购物车 - 更新数量",
    "version": "1.0.0",
    "name": "updatedShoppingCart",
    "group": "ShoppingCart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "counts",
            "description": "<p>商品数量</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"counts\": 11\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>详情 ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "ShoppingCart"
  },
  {
    "type": "post",
    "url": "shopping",
    "title": "购物 - 创建",
    "version": "1.0.0",
    "name": "createdShopping",
    "group": "Shopping",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>会员 ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "authCode",
            "description": "<p>商户授权码</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "cardAmount",
            "description": "<p>卡片金额</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "amount",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "payType",
            "description": "<p>支付方式[1:人民币, 2:银行卡, 3:积分兑换, 4:微信, 5:支付宝, 6:会员卡, 7:礼券]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"uid\": 1,\n    \"authCode\": \"280124568532564\",\n    \"cardAmount\": \"168.88\",\n    \"amount\": \"186.66\",\n    \"payType\": \"Fuck\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shopping"
  },
  {
    "type": "post",
    "url": "shopping/refund",
    "title": "购物 - 退货",
    "version": "1.0.0",
    "name": "deletedShoppingRefund",
    "group": "Shopping",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tradeNo",
            "description": "<p>购物号</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "cardAmount",
            "description": "<p>卡片金额</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "amount",
            "description": "<p>金额</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "goodsIds",
            "description": "<p>退货商品 ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "counts",
            "description": "<p>退货商品 数量</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    \"tradeNo\": \"280124568532564\",\n    \"cardAmount\": \"168.88\",\n    \"amount\": \"186.66\",\n    \"goodsIds\": [1,2,3],\n    \"counts\": [4,5,6],\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 1\n     }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shopping"
  },
  {
    "type": "post",
    "url": "shopping/detail",
    "title": "购物 - 购物号返回详情",
    "version": "1.0.0",
    "name": "getShoppingDetail",
    "group": "Shopping",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tradeNo",
            "description": "<p>购物号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>购物 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "uid",
            "description": "<p>会员 ID</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "out_trade_no",
            "description": "<p>商户购物号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "auth_code",
            "description": "<p>商户授权码</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "card_amount",
            "description": "<p>会员卡金额</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "amount",
            "description": "<p>金额</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "trade_no",
            "description": "<p>交易号</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "pay_type",
            "description": "<p>支付方式[1:人民币, 2:银行卡, 3:积分兑换, 4:微信, 5:支付宝, 6:会员卡, 7:礼券]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "pay_status",
            "description": "<p>支付状态[1:成功, 2:失败]</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "created_at",
            "description": "<p>创建时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": 200,\n     \"message\": \"\",\n     \"data\": {\n         \"id\": 2,\n         \"uid\": 0,\n         \"admin_id\": 1,\n         \"out_trade_no\": \"20170224115326952\",\n         \"auth_code\": \"20170206110514739\",\n         \"trade_no\": \"0\",\n         \"card_amount\": \"500\",\n         \"amount\": \"500\",\n         \"pay_type\": 1,\n         \"pay_status\": 1,\n         \"status\": 1,\n         \"created_at\": \"2017-02-24 11:53:26\",\n         \"detail\": [\n             {\n                 \"id\": 2,\n                 \"shopping_id\": 2,\n                 \"goods_id\": 1,\n                 \"zh_name\": \"香蕉\",\n                 \"en_name\": \"banner\",\n                 \"price\": \"50.00\",\n                 \"counts\": 1,\n                 \"created_at\": \"2017-02-24 11:53:26\"\n             }\n         ]\n     }\n }",
          "type": "json"
        }
      ]
    },
    "filename": "./Collect.php",
    "groupTitle": "Shopping"
  }
] });
